package main;

import define.ErrorDefine;

public class ConditionException extends Exception 
{
	private static final long serialVersionUID = 1L;
	
	private ErrorDefine m_error;
	private int m_position;
	
	public ConditionException(ErrorDefine error, int position)
	{
		m_error = error;
		m_position = position;
	}
	
	public int getPosition()
	{
		return m_position;
	}
	
	public ErrorDefine getError()
	{
		return m_error;
	}
}
